package il.ac.tau.cvws.scrabblesidekick.server.engine.dictionary.exception;

import il.ac.tau.cvws.scrabblesidekick.server.util.exception.ExceptionTypes;
import il.ac.tau.cvws.scrabblesidekick.server.util.exception.ScrabbleSidekickException;

/* Dictionary error related exceptions.
 */
public class DictionaryException extends ScrabbleSidekickException
{
	private static final long serialVersionUID = 1L;
	
	public static final String INVALID_DICTIONARY = "Invalid dictionary";
	
	public DictionaryException(String msg, Throwable cause)
	{
		super(ExceptionTypes.DICTIONARY, msg, cause);
	}
	
	public DictionaryException(String msg)
	{
		this(msg, null);
	}
}
